package com.lisp.springframework.tx.model;

import java.util.Date;

public class Foo {

    private Long id;
    
    private Integer workId;
    
    private Date updateDate;

    public Foo() { }
    
    public Foo(Long id, Integer workId, Date updateDate) {
        this.id = id;
        this.workId = workId;
        this.updateDate = updateDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getWorkId() {
        return workId;
    }

    public void setWorkId(Integer workId) {
        this.workId = workId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "Foo [id=" + id + ", workId=" + workId + ", updateDate=" + updateDate + "]";
    }
}
